package model

import "gorm.io/gorm"

type Good struct {
	gorm.Model
	Goodname  string `gorm:"type:varchar(50)"`
	GoodPrice int    `gorm:"type:int"`
	Stock     int    `gorm:"type:int"`
}
type Order struct {
	gorm.Model
	Gid        int    `gorm:"type:int"`
	Customer   string `gorm:"type:varchar(50)"`
	OrderPrice int    `gorm:"type:int"`
}
type GoodOrder struct {
	Oid        int
	GoodName   string
	GoodPrice  int
	Stock      int
	Customer   string
	OrderPrice int
}
